<div class="gray_box" style="">
<form action="" name="validatefrm" method="POST">

    <table width="100%" cellpadding="4" cellspacing="2" >
      <tr>
        <th colspan="2">Enter Urls</th>
      </tr>

    <?php if (count($page_data[errors]) > 0) { ?>
      <tr>
        <td colspan="2" align="center" style="color: #FF0000;">
          <?php echo implode('<br />', $page_data[errors]);?>
        </td>
      </tr>
    <?php } // end if errors ?>
      <tr>
        <td align="right" width="38%">First URL:</td>
        <td>
          <input type="text" name="first_url"  size="25" maxlength="255" />
        </td>
      </tr>
      <tr>
        <td align="right" width="38%">Second URL:</td>
        <td>
          <input type="text" name="second_url"  size="25" maxlength="255" />
        </td>
      </tr>
       <tr>
        <td align="right" width="38%">Supress Details:</td>
        <td>
          <input type="checkbox" name="supress" value="1"/>&nbsp;
        </td>
      </tr>
     <tr>
        <td align="center" colspan="2">
          <input type="button" value="Click to compare url" onclick="return myval()" />


        </td>
      </tr>
    </table>
  </form>
</div>
<script>
function myval()
{
document.validatefrm.target = 'newwin1';
document.validatefrm.action ='validate_display.php';
window.open('validate_display.php','newwin1','');
document.validatefrm.submit();
}
</script>